hasType
jsPlumbUIComponent
Returns whether or not the component currently has the given type.
typeId – {string} –
Id of the type to check for
{boolean}
True if the component has the type, false if not.